import unittest
from selenium import webdriver


class Test(unittest.TestCase):
    def setUp(self):
        self.driver=webdriver.Chrome()
    def test_01(self):
        self.driver.switch_to.window(self.driver.window_handles[-1])
        self.driver.execute_script(f'window.scrollTo({x},{y})')